package com.bailian.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.bailian.common.annotation.Excel;
import com.bailian.common.core.domain.BaseEntity;

/**
 * 仓库类型对象 bl_warehouse_type
 * 
 * @author bailian
 * @date 2025-08-04
 */
public class BlWarehouseType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 默认构造函数 */
    public BlWarehouseType() {
    }


    /** ID */
    private Long typeId;

    /** 类型名称 */
    @Excel(name = "类型名称")
    private String typeName;

    /** 类型图片 */
    @Excel(name = "类型图片")
    private String typeImage;

    /** 是否首页显示 */
    @Excel(name = "是否首页显示")
    private Integer isShowHome;

    /** 创建日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createTime;

    /** 更新日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateTime;

    public void setTypeId(Long typeId) 
    {
        this.typeId = typeId;
    }

    public Long getTypeId() 
    {
        return typeId;
    }

    public void setTypeName(String typeName) 
    {
        this.typeName = typeName;
    }

    public String getTypeName() 
    {
        return typeName;
    }

    public void setTypeImage(String typeImage) 
    {
        this.typeImage = typeImage;
    }

    public String getTypeImage() 
    {
        return typeImage;
    }

    public void setIsShowHome(Integer isShowHome) 
    {
        this.isShowHome = isShowHome;
    }

    public Integer getIsShowHome() 
    {
        return isShowHome;
    }

    public void setCreateTime(Date createTime)
    {
        this.createTime = createTime;
    }

    public Date getCreateTime()
    {
        return createTime;
    }

    public void setUpdateTime(Date updateTime)
    {
        this.updateTime = updateTime;
    }

    public Date getUpdateTime()
    {
        return updateTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("typeId", getTypeId())
            .append("typeName", getTypeName())
            .append("typeImage", getTypeImage())
            .append("isShowHome", getIsShowHome())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
